package com.stylefeng.guns.modular.system.transfer;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 新闻传输bean
 * 
 * @author huangyuehong
 * @Date 2017/5/5 22:40
 */
public class NewsDto {

	private Long id;
	private String title;
	private String author;
	private Long category;
	private String picture;
	private String description;
	private String keyword;
	private String transmitFrom;
	private Long readtimes;
	private String content;
	private Integer orderval;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private Integer isShow;
	private Integer isTop;
	private Integer isDel;
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Long getCategory() {
		return category;
	}

	public void setCategory(Long category) {
		this.category = category;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getTransmitFrom() {
		return transmitFrom;
	}

	public void setTransmitFrom(String transmitFrom) {
		this.transmitFrom = transmitFrom;
	}

	public Long getReadtimes() {
		return readtimes;
	}

	public void setReadtimes(Long readtimes) {
		this.readtimes = readtimes;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getOrderval() {
		return orderval;
	}

	public void setOrderval(Integer orderval) {
		this.orderval = orderval;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}

	public Integer getIsTop() {
		return isTop;
	}

	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
